package com.zdpx.pxframework.system.entity;

import com.zdpx.pxframework.database.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 菜单信息表 实体对象
 *
 * @Description:
 * @Author: Cheng XiaoXiao
 * @Date: 2022-02-27 15:20:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "MenuInfo对象", description = "菜单信息表")
public class MenuInfo extends BaseEntity {

    @ApiModelProperty(value = "权限标识")
    private String menuKey;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "父级ID")
    private String parentId;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "菜单类型（1目录 2菜单 3按钮）")
    private Integer type;

    @ApiModelProperty(value = "所在层级")
    private Integer level;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "路由地址")
    private String path;

    @ApiModelProperty(value = "是否为外链（0否 1是）")
    private Integer isOuterLink;

    @ApiModelProperty(value = "是否隐藏（0否 1是）")
    private Integer isHidden;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "所属应用ID")
    private String applicationId;


}
